package com.yue.ssa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yue.ssa.bean.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface RoleMapper extends BaseMapper<Role> {
    Role getById(@Param("id") String id);

    List<Role> getRolesByUid(String uid);
}
